package spring.boot.entity;


import org.hibernate.validator.constraints.URL;

import java.io.Serializable;
import java.util.Date;

/**
 * 经纪人表
 *
 * @author lins
 * @email 695565697@qq.com
 * @date 2021-10-14 11:16:47
 */

public class AgentUserEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return "AgentUserEntity{" +
                "agentId=" + agentId +
                ", agentName='" + agentName + '\'' +
                ", agentPhone='" + agentPhone + '\'' +
                ", agentCompany=" + agentCompany +
                ", agentNewhouse=" + agentNewhouse +
                ", agentOldhouse=" + agentOldhouse +
                ", agentLeasehouse=" + agentLeasehouse +
                ", agentStatus=" + agentStatus +
                ", agentImg='" + agentImg + '\'' +
                ", agentSort=" + agentSort +
                ", agentCreateTime=" + agentCreateTime +
                ", agentUpdateTime=" + agentUpdateTime +
                ", agentDeleteTime=" + agentDeleteTime +
                ", agentDelete=" + agentDelete +
                ", serviceIntroduction='" + serviceIntroduction + '\'' +
                '}';
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getAgentId() {
        return agentId;
    }

    public void setAgentId(Integer agentId) {
        this.agentId = agentId;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getAgentPhone() {
        return agentPhone;
    }

    public void setAgentPhone(String agentPhone) {
        this.agentPhone = agentPhone;
    }

    public Integer getAgentCompany() {
        return agentCompany;
    }

    public void setAgentCompany(Integer agentCompany) {
        this.agentCompany = agentCompany;
    }

    public Integer getAgentNewhouse() {
        return agentNewhouse;
    }

    public void setAgentNewhouse(Integer agentNewhouse) {
        this.agentNewhouse = agentNewhouse;
    }

    public Integer getAgentOldhouse() {
        return agentOldhouse;
    }

    public void setAgentOldhouse(Integer agentOldhouse) {
        this.agentOldhouse = agentOldhouse;
    }

    public Integer getAgentLeasehouse() {
        return agentLeasehouse;
    }

    public void setAgentLeasehouse(Integer agentLeasehouse) {
        this.agentLeasehouse = agentLeasehouse;
    }

    public Integer getAgentStatus() {
        return agentStatus;
    }

    public void setAgentStatus(Integer agentStatus) {
        this.agentStatus = agentStatus;
    }

    public String getAgentImg() {
        return agentImg;
    }

    public void setAgentImg(String agentImg) {
        this.agentImg = agentImg;
    }

    public Integer getAgentSort() {
        return agentSort;
    }

    public void setAgentSort(Integer agentSort) {
        this.agentSort = agentSort;
    }

    public Date getAgentCreateTime() {
        return agentCreateTime;
    }

    public void setAgentCreateTime(Date agentCreateTime) {
        this.agentCreateTime = agentCreateTime;
    }

    public Date getAgentUpdateTime() {
        return agentUpdateTime;
    }

    public void setAgentUpdateTime(Date agentUpdateTime) {
        this.agentUpdateTime = agentUpdateTime;
    }

    public Date getAgentDeleteTime() {
        return agentDeleteTime;
    }

    public void setAgentDeleteTime(Date agentDeleteTime) {
        this.agentDeleteTime = agentDeleteTime;
    }

    public Integer getAgentDelete() {
        return agentDelete;
    }

    public void setAgentDelete(Integer agentDelete) {
        this.agentDelete = agentDelete;
    }

    public String getServiceIntroduction() {
        return serviceIntroduction;
    }

    public void setServiceIntroduction(String serviceIntroduction) {
        this.serviceIntroduction = serviceIntroduction;
    }

    /**
     * 经纪人id
     */

    private Integer agentId;
    /**
     * 经纪人名字
     */
    private String agentName;
    /**
     * 经纪人电话
     */
    private String agentPhone;
    /**
     * 公司id
     */
    private Integer agentCompany;
    /**
     * 新房
     */
    private Integer agentNewhouse;
    /**
     * 二手房
     */
    private Integer agentOldhouse;
    /**
     * 租房
     */
    private Integer agentLeasehouse;
    /**
     * 状态
     */
    private Integer agentStatus;
    /**
     * 经纪人头像
     */
    @URL(message = "头像必须是一个url地址")
    private String agentImg;
    /**
     * 排序
     */
    private Integer agentSort;
    /**
     * 创建时间
     */
    private Date agentCreateTime;
    /**
     * 更新时间
     */
    private Date agentUpdateTime;
    /**
     * 逻辑删除时间
     */
    private Date agentDeleteTime;
    /**
     * 逻辑删除
     */
    private Integer agentDelete;
    /**
     * 服务介绍
     */
    private String serviceIntroduction;

}
